<header class="am-topbar header">
    <div class="am-container-1">
        <div class="left hw-logo">
            <img class=" logo" src="{{ asset('images/website/HENGWANG.png') }}"></img>
            <img class="word" src="{{ asset('images/website/hw-word.png') }}"></img>
        </div>
        <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#doc-topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
        <div class="am-collapse am-topbar-collapse right" id="doc-topbar-collapse">
            <div class=" am-topbar-left am-form-inline am-topbar-right" role="search">
                <ul class="am-nav am-nav-pills am-topbar-nav hw-menu">
                    <li @if($routes == '/' || !$routes)class="hw-menu-active" @endif><a href="/">首页</a></li>
                    @foreach($nav_list as $k => $v)
                    <li><a href="{{ $v['url'] }}" @if($routes != '/' && strpos($v['url'],$routes) !== false)class="hw-menu-active" @endif>{{ $v['name']}}</a></li>
                    @endforeach
                </ul>
            </div>

        </div>
    </div>
</header>